package com.ayf.payment.game.api.service.platform;

import com.ayf.payment.game.api.dto.platform.SubstitutePayConfigDTO;
import com.ayf.payment.game.api.dto.platform.criteria.SubstitutePayCriteria;
import com.ayf.payment.game.api.exception.ParameterException;

import java.util.List;

public interface SubstitutePayConfigService {

    SubstitutePayConfigDTO getSubstitutePayConfigByChannelCode(Integer payType);

    List<SubstitutePayConfigDTO> getListSubstitutePayConfigByChannelCode(SubstitutePayCriteria substitutePayCriteria);

    boolean update(SubstitutePayConfigDTO substitutePayConfigDTO);

    void updateSubstitutePayConfig(SubstitutePayConfigDTO substitutePayConfigDTO);

    SubstitutePayConfigDTO updateSubstitutePayConfigMerchantPubPriKey(SubstitutePayConfigDTO substitutePayConfigDTO) throws ParameterException;

    SubstitutePayConfigDTO getSubstitutePayConfigById(Integer substitutePayConfigId);
}


